{template header}
<div id="noticeBox">
	<div class="left">
		<a href="{WEBURLPATH}/index.php">首页</a>&gt;
		<a href="{WEBURLPATH}/brand.php">品牌专区</a>
	</div>
</div>
{templatecss news}

{if $webglobal['action'] == 'view'}

	<style>
	.vipImgBox{float:left;background:url({WEBURLPATH}/images/vipshowlistbg.gif) left top no-repeat;width:225px;height:120px;}
	.vipImgBox img{background:#fff;margin:3px 0px 0px 2px;width:220px;height:112px;}
	#vipShowInfo{float:left;width:475px;margin:0px 0px 0px 10px;}
	#vipShowInfo .tbox {border:1px solid #E7D4C3;height:120px;}
	#vipShowInfo .tbox dt{background:none;border:0px none;}
	#vipShowInfo .tbox dd{border:0px none;}
	#vipShowInfo .onenews {height:192px;}
	#vipShowInfo .onenews h2 {text-align:center;}
	</style>
	<div class="w960 center clear mt1">
		<div class="pleft">
			<div class="vipImgBox"><img src="{WEBURLPATH}{$webglobal['file_brand']['brand']['thumbnail']['big']}" ></div>
			<div class="topcommand" id="vipShowInfo">
				<dl class="tbox">
					<dd>
					<div class="onenews">
						<h2><a >{$webglobal['file_brand']['brand']['name']}</a></h2>
						<p>{$webglobal['file_brand']['brand']['description']}</p>
					</div><!-- /onenews -->
					</dd>
				</dl>
			</div><!-- /topcommand -->
			<div class="listbox">
				<dl class="tbox">
				<dt><strong>活动图集</strong></dt>
				<dd>
					<ul class="e6">
						{loop $webglobal['file_brand']['image'] $image}
						<li><a title="{$image['title']}" href="{$image['arcurl']}&brandid={$webrequest['id']}"><img alt="" src="{$image['litpic']}"></a></li>
						{/loop}
					</ul>
					<ul class="d2 ico3">
						{loop $webglobal['file_brand']['imagelist'] $image}
						<li><span class="date">{$image['stime']}</span>
						<a href="{$image['arcurl']}&brandid={$webrequest['id']}">{$image['title']}</a></li>
						{/loop}
					</ul>
				</dd>
				</dl>
				<dl class="tbox">
					<dt><strong><a>品牌新闻</a></strong></dt>
					<dd>
					<ul class="d2 ico3">
						{loop $webglobal['file_brand']['articlelist'] $article}
							<li><span>{$article['stime']}</span><a href="{$article['arcurl']}&brandid={$webrequest['id']}">{$article['title']}</a></li>
						{/loop}
					</ul>
					</dd>
				</dl>
			</div><!-- /listbox -->
		</div><!-- /pleft -->

		<div class="pright">
			<div class="hot mt1">
				<dl class="tbox light">
				<dt class='light'><strong>热门新闻</strong></dt>
				<dd class='light'>
					<ul class="c1 ico2">
					{loop $webglobal['file_brand']['hot'] $article}
						<li><a href="{$article['arcurl']}">{$article['title']}</a></li>
					{/loop}
					</ul>
				</dd>
				</dl>
			</div>
		</div><!-- /pright -->
	</div>
{else}
	<div class="w960 center clear mt1">
		<div class="pleft">
			<div class="listbox">
			<style>
				.vipShow li{width:225px;}
				.vipShow li a.pic{width:225px;background:url({WEBURLPATH}/images/vipshowlistbg.gif) left top no-repeat}
				.vipShow li a.pic img{width:220px;margin:3px 0px 0px 2px;}
			</style>

			<ul class="e8 vipShow">
			{if $webglobal['file_brand']['datanum'] > 0}
				{loop $webglobal['file_brand']['dataarray'] $row}
					<li>
					<a class="pic" href="{WEBURLPATH}/brand.php?action=view&id={$row['id']}"><img alt="{$row['name']}" src="{WEBURLPATH}{$row['thumbnail']['big']}"></a>
					<a class="title" href="{WEBURLPATH}/brand.php?action=view&id={$row['id']}">{$row['name']}</a>
					</li>
				{/loop}
				<div class="dede_pages">
					{template page}
				</div>
			{else}
			{/if}
			</ul>
			</div><!-- /listbox -->
			<!-- /pages -->
		</div><!-- /pleft -->
<style>

ul.vipCheckin{margin:0px 3px 0px 5px;list-style:square inside none;}
ul.vipCheckin li{height:23px;line-height:23px;list-style:square inside none;color:#FF8E4B;}
ul.vipCheckin li a{color:#FF8E4B;font-size:13px;font-weight:bold;margin:0px 7px 0px 0px;}
ul.vipCheckin li span{color:#666;}
</style>
		<div class="pright">
			<div class="commend">
				<dl class="tbox">
				<dt><strong>热门签到商户</strong></dt>
				<dd class='light'>
					<ul class="vipCheckin">
						{loop $webglobal['file_companyComment_group'] $tempdata}
							<li>
								<!-- <img class="img" src="{WEBURLPATH}{$tempdata[photo]}" alt="" /> -->
								<a href="{WEBURLPATH}/company.php?action=view&id={$tempdata[company_id]}">$tempdata['name']</a><span>有{$tempdata['countNum']}人签到</span>
							</li>
						{/loop}
					</ul>
				</dd>
			</dl>
			</div>
		</div><!-- /pright -->
	</div>
{/if}
{template footer}